﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WillBe.Framework;

namespace WillBe.Attributes.Logic
{
    public class WillBeObfuscatingErrorsAction : WillBeActionBase<WillBeObfuscatingErrors>
    {
        public override void Do()
        {
            try
            {
                Action.Invoke();
            }
            catch (Exception e)
            {
                throw new Exception(e.GetType().ToString());
            }
        }
    }
}
